# dict的update相当于list的extend或 list、str、truple的'+'
di1 = {'a': 1, 'b': 'va'}
di2 = {'name': 'wonder', 'age': 1}
di1.update(di2)
print(di1)

# review
# list
li1 = [1, 2, 3]
li2 = ['a', 6, 'asd']
li3 = li1 + li2
li1.extend(li2)
print(li1, li3, li2, sep='\n')
# str
s1 = 'asd'
s2 = 'qwe'
s1 = s1 + s2
print(s1)
# truple
tr1 = ('asda', 'ada', 3)
tr2 = (3, 4, 5, 65, 6)
print(tr1 + tr2)
